package com.woniu.woniuk16.service;

import com.woniu.woniuk16.dto.StudentDto;
import com.woniu.woniuk16.dto.StusDto;
import com.woniu.woniuk16.entity.WoniuStudent;
import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.woniuk16.exception.stu.StudentException;
import com.woniu.woniuk16.param.student.AddStudentParam;
import com.woniu.woniuk16.param.student.GetStusParam;

import java.util.List;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tiangle
 * @since 2021-12-16
 */
public interface WoniuStudentService extends IService<WoniuStudent> {
    StusDto selStudent(GetStusParam getStusParam);
    boolean saveStudent(AddStudentParam addStudentParam) throws StudentException;
    List<StudentDto> getStusByClass(Integer classId) throws StudentException;
}
